﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="FA_StatisticQuery.aspx.cs" Inherits="FixedAssets.Module.StatisticFAI.FA_StatisticQuery" %>

<%@ Register Assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20132.126, Culture=neutral, PublicKeyToken=9b75583953471eea"
    Namespace="C1.Web.Wijmo.Controls.C1GridView" TagPrefix="wijmo" %>
<%@ Register Assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20132.126, Culture=neutral, PublicKeyToken=9b75583953471eea"
    Namespace="C1.Web.Wijmo.Controls.C1Accordion" TagPrefix="wijmo" %>
<%@ Register Assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20132.126, Culture=neutral, PublicKeyToken=9b75583953471eea"
    Namespace="C1.Web.Wijmo.Controls.C1ComboBox" TagPrefix="wijmo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <span>综合查询</span>
    <script type="text/javascript" src="../../Scripts/jquery-2.0.3.min.js"></script>    
    <wijmo:C1Accordion ID="C1Accordion1" runat="server" RequireOpenedPane="false" SelectedIndex="1">
        <Panes>
            <wijmo:C1AccordionPane ID="C1Accordion1Pane1" runat="server">
                <Header>
                    选择查看属性</Header>
                <Content>
                    <asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="8" RepeatDirection="Horizontal"
                        AutoPostBack="True" OnSelectedIndexChanged="CheckBoxList1_SelectedIndexChanged">
                    </asp:CheckBoxList>
                </Content>
            </wijmo:C1AccordionPane>
             <wijmo:C1AccordionPane ID="C1AccordionPane1" runat="server">
                <Header>
                    添加筛选条件</Header>
                 <Content>
                     <wijmo:C1GridView ID="C1GridView2" runat="server" AutogenerateColumns="False" 
                         GroupAreaCaption="将这里的一列拖去与那一列分组。" LoadingText="载入中...">
                     <Columns>
                     <wijmo:C1TemplateField HeaderText="名称">
                     <ItemTemplate>
                      <asp:DropDownList ID="DropDownList_Name" runat="server"  OnSelectedIndexChanged="DropDownList_Name_SelectedIndexChanged" AutoPostBack="True">
                             </asp:DropDownList>
                     </ItemTemplate>
                     </wijmo:C1TemplateField>
                     <wijmo:C1TemplateField HeaderText="条件">
                     <ItemTemplate>
                        <asp:DropDownList ID="DropDownList_TJ" runat="server" OnSelectedIndexChanged="DropDownList_TJ_SelectedIndexChanged" AutoPostBack="true">
                             </asp:DropDownList>
                     </ItemTemplate>                     
                     </wijmo:C1TemplateField>
                     <wijmo:C1TemplateField HeaderText="操作">
                     <ItemTemplate>
                     <asp:Button Text="+" ID="add" runat="server" OnClick="add_onclick" />
                     <asp:Button Text="-" ID="del" runat="server" OnClick="del_onclick" />
                     </ItemTemplate>
                     </wijmo:C1TemplateField>
                     </Columns>
                     </wijmo:C1GridView>
                 </Content>
            </wijmo:C1AccordionPane>
        </Panes>
    </wijmo:C1Accordion>
    <wijmo:C1GridView ID="C1GridView1" runat="server" PageSize="20" 
        AllowColSizing="True" DataKeyNames="MD_ID"
        AllowPaging="True" AutogenerateColumns="False" ShowRowHeader="True" GroupAreaCaption="将这里的一列拖去与那一列分组。"
        LoadingText="载入中..." OnColumnGrouped="C1GridView1_ColumnGrouped" OnColumnUngrouped="C1GridView1_ColumnUngrouped"
        OnPageIndexChanging="C1GridView1_PageIndexChanging" 
        onfiltered="C1GridView1_Filtered" AllowColMoving="True" 
        onrowdatabound="C1GridView1_RowDataBound">
        <PagerSettings FirstPageText="首页" LastPageText="尾页" Mode="NumericFirstLast" 
            NextPageText="下一页" PreviousPageText="前一页" />
        <Columns>
            <wijmo:C1BoundField HeaderText="序号" DataField="ROWID" SortExpression="ROWID">
            </wijmo:C1BoundField>
            <wijmo:C1BoundField HeaderText="GUID" DataField="MD_ID" SortExpression="MD_ID" Visible="false">
            </wijmo:C1BoundField>
            <wijmo:C1BoundField HeaderText="所属单位" DataField="SCORPCODE" SortExpression="SCORPCODE">
            </wijmo:C1BoundField>
            <wijmo:C1BoundField HeaderText="资产编号" DataField="SASSETSCODE" SortExpression="SASSETSCODE">
            </wijmo:C1BoundField>
            <wijmo:C1BoundField HeaderText="卡片编号" DataField="SMASTERCARDCODE" SortExpression="SMASTERCARDCODE">
            </wijmo:C1BoundField>
        </Columns>
    </wijmo:C1GridView>
</asp:Content>
